package com.collect.zambia.zhiBean.zhiReceive;

import com.collect.zambia.zhiUtils.StringUtil;

import java.io.Serializable;

public class ZHIRUserCallRecordWarnEntity implements Serializable {

    private String warnFlag;
    private String warnContent;

    public String getWarnFlag() {
        return StringUtil.safeString(warnFlag);
    }

    public boolean isWarnFlag() {
        return getWarnFlag().equalsIgnoreCase("YES");
    }

    public void setWarnFlag(String warnFlag) {
        this.warnFlag = warnFlag;
    }

    public String getWarnContent() {
        return StringUtil.safeString(warnContent);
    }

    public void setWarnContent(String warnContent) {
        this.warnContent = warnContent;
    }
}
